package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
@Schema(
        name = "TowdLine",
        title = "2d线量表",
        description = ""
)
@TableName(value = "model_2d_line")
public class TwodLine {

    @Schema(title = "2d线量id", description = "")
    @TableId(value = "Twod_line_id")
    private Long id;

    @Schema(title = "起始点", description = "")
    @TableField(value = "starting_point")
    private Long start;

    @Schema(title = "终止点", description = "")
    @TableField(value = "ending_point")
    private Long end;
}

